package com.xcity.config;

import naga.x.common.Config;
import naga.x.util.KeywordsManager;

public class ConfigEx extends Config {

//	public static final String BAD_WORDS_FILTER = "badwordsFilter";
	protected KeywordsManager badwordsFilter;
	
//	public String worldEventFile;
	public String localDbDir;
	public boolean cheat;
	public String resourceServerUrl; // 资源缓存服务器（存储图片）
	
	public KeywordsManager getBadwordsFilter() {
//		KeywordsManager km = getObject(BAD_WORDS_FILTER, KeywordsManager.class);
//		if (km == null) {
//			File file = new File(getString(BAD_WORDS_FILE));
//			if (file.exists()) {
//				km = new KeywordsManager(file, null);
//				put(BAD_WORDS_FILTER, km);
//			}
//		}
//		return km;
		return badwordsFilter;
	}

	
}
